ioemu: replace non-standard ulong with unsigned long
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 18 Jan 2008 13:35:26 +0000 (13:35 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 18 Jan 2008 13:35:26 +0000 (13:35 +0000)
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
tools/ioemu/target-i386-dm/helper2.c

index 03dd7e85072ab8c1da3ebd575cdb77c943ce6a42..d9e517996410c2fdbfa9c17792267fcdcae91006 100644 (file)
@@ -476,7 +476,7 @@ void cpu_ioreq_timeoffset(CPUState *env, ioreq_t *req)
 {
     char b[64];
 
-    time_offset += (ulong)req->data;
+    time_offset += (unsigned long)req->data;
 
     fprintf(logfile, "Time offset set %ld, added offset %ld\n", time_offset, req->data);
     sprintf(b, "%ld", time_offset);